package top.rainbowecho.model.vo;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author rainbow
 * @since 2020/8/13 15:59
 */
@Data
public class ReplyTreeVo implements Serializable {
    private static final long serialVersionUID = -3121868639809355012L;

    /**
     * 某条回复的Id
     */
    private String id;

    /**
     * 回复内容
     */
    private String replyContext;

    /**
     * 回复的发表时间
     */
    private LocalDateTime replyDate;

    /**
     * 回复的人的Id
     */
    private String reviewerId;

    /**
     * 回复的文章的id
     */
    private String articleId;

    /**
     * 回复的父Id，即某个评论Id
     */
    private String parentId;

    /**
     * 子数据
     */
    private List<ReplyTreeVo> children;

}
